package com.zdxlz.fcmp.upms.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zdxlz.fcmp.upms.api.dto.SystemTenantDto;
import com.zdxlz.fcmp.upms.api.entity.SystemTenant;
import com.zdxlz.fcmp.upms.api.vo.SystemTenantVo;

import java.util.List;

/**
 * 租户信息表(SystemTenant)表服务接口
 *
 * @author aman
 * @since 2025-02-24 10:46:51
 */
public interface ISystemTenantService extends IService<SystemTenant> {

    IPage<SystemTenantVo> selectSystemTenant(Page<SystemTenant> page, SystemTenantDto dto);

    boolean insertSystemTenant(SystemTenant entity, String password);

    boolean updateSystemTenant(SystemTenant entity);

    boolean deleteSystemTenant(List<Integer> ids);
}
